var ${domainObjectName} = {
		getInfo:function(id,success){
			jQuery.post(context+"${lowerDomainObjectName}/selectByPrimaryKey.json",{"id":id == null || id == undefined ? jQuery("#${lowerPk}").val() : id},function(data){
				success(data.body);
			},"JSON");
		},
		saveOrUpdate:function(entity,success){
			if(entity == undefined){
				entity = jQuery("#${lowerDomainObjectName}_form").serialize();
			}
			if(success == undefined){
				success = function(data){
					window.history.go(-1)
				}
			}
			jQuery.post(context+"${lowerDomainObjectName}/saveOrUpdateUser.json",entity,function(data){
				if(data.head.code == "000000"){
					success(data);
				}
			},"JSON");
		},
		findByFilters:function(filters,success){
			var postData= {
					pageSize: 1000000,
					pageNum: 1
				};
			if(filters!=null){
				postData["filters"] = JSON.stringify(filters);	
			}			
			jQuery.post(context+"${lowerDomainObjectName}/pagingList.json",postData,function(data){
				if(data.head.code == "000000"){
					success(data);
				}
			},"JSON");
		},
		del:function(ids,success){
			if(success == undefined){
				success = function(data){
					location.reload();
				}
			}
			jQuery.post(context+"${lowerDomainObjectName}/delete.json",{"ids":ids},function(data){
				if(data.head.code == "000000"){
					success(data);
				}
    		});
		}
}